import TableProMain from './TablePro';
import { useSearchForm, useTableProRef } from './hooks';
export type { TableProRef, TableColumns, SearchConfig, RequestFn } from './type';

type ComType = typeof TableProMain & {
	useSearchForm: typeof useSearchForm;
	useTableProRef: typeof useTableProRef;
};

const TablePro = TableProMain as ComType;
TablePro.useSearchForm = useSearchForm;
TablePro.useTableProRef = useTableProRef;

export default TablePro;
